package com.scs.application.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityIndexAnnotation;
import lombok.Data;
import lombok.experimental.Accessors;
/**
 * <p>
 *
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "HIS收费项目表")
@TableName("base_matr_his")
@EntityIndexAnnotation(ux = {"his_code"})
public class MatrHis extends DataEntity {


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "收费列表名称",
            length = "400",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String name;

    @EntityFieldAnnotation(
            text = "HRP编码",
            length = "50",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String hrpCode;

    @EntityFieldAnnotation(
            text = "HIS编码",
            length = "50",
            not_null = false,
            default_value = "",
            comment = "HIS编码"
    )
    private String hisCode;
    private String hisId;


    @EntityFieldAnnotation(
            text = "成人价格",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double pricePatientAdult;

    @EntityFieldAnnotation(
            text = "儿童价格",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double pricePatientChild;

    @EntityFieldAnnotation(
            text = "HIS单位",
            length = "10",
            not_null = false,
            default_value = "",
            comment = "HIS单位"
    )
    private String hisUnit;

    @EntityFieldAnnotation(
            text = "拼音码",
            length = "10",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String inputCode;

    @EntityFieldAnnotation(
            text = "禁用标志",
            comment = ""
    )
    private boolean flagDisabled;


    // creator ,在父类中处理


    // gmt_create ,在父类中处理


    // modifier ,在父类中处理


    // gmt_modified ,在父类中处理

    // 国家目录编码
    private String nationalCode;

    // 国家医保名称
    private String nationalName;

}
